package com.ruoyi.compensationManagement.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 扣款金额设置对象 compensation_deduction_amount_settings
 *
 * @author ruoyi
 * @date 2022-10-05
 */
public class CompensationDeductionAmountSettings extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 扣款类型 */
    @Excel(name = "扣款类型")
    private String deductionsType;

    /** 扣款项编码 */
    private String deductionsCoding;

    /** 是否为比例（Y是 N否） */
    @Excel(name = "是否以比例计算", readConverterExp = "Y=是,N=否")
    private String isRate;

    /** 费用 */
    @Excel(name = "费用")
    private BigDecimal cost;

    /** 比例 */
    @Excel(name = "比例")
    private BigDecimal rate;

    /** 纳入在编人员计算工资*/
    private String zbExecute;

    /**  纳入聘用人员计算工资*/
    private String pyExecute;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDeductionsType(String deductionsType)
    {
        this.deductionsType = deductionsType;
    }

    public String getDeductionsType()
    {
        return deductionsType;
    }
    public void setDeductionsCoding(String deductionsCoding)
    {
        this.deductionsCoding = deductionsCoding;
    }

    public String getDeductionsCoding()
    {
        return deductionsCoding;
    }
    public void setIsRate(String isRate)
    {
        this.isRate = isRate;
    }

    public String getIsRate()
    {
        return isRate;
    }
    public void setCost(BigDecimal cost)
    {
        this.cost = cost;
    }

    public BigDecimal getCost()
    {
        return cost;
    }
    public void setRate(BigDecimal rate)
    {
        this.rate = rate;
    }

    public BigDecimal getRate()
    {
        return rate;
    }

    public String getZbExecute() {
        return zbExecute;
    }

    public void setZbExecute(String zbExecute) {
        this.zbExecute = zbExecute;
    }

    public String getPyExecute() {
        return pyExecute;
    }

    public void setPyExecute(String pyExecute) {
        this.pyExecute = pyExecute;
    }

    @Override
    public String toString() {
        return "CompensationDeductionAmountSettings{" +
                "id=" + id +
                ", deductionsType='" + deductionsType + '\'' +
                ", deductionsCoding='" + deductionsCoding + '\'' +
                ", isRate='" + isRate + '\'' +
                ", cost=" + cost +
                ", rate=" + rate +
                ", zbExecute='" + zbExecute + '\'' +
                ", pyExecute='" + pyExecute + '\'' +
                '}';
    }
}
